#ifndef __UILABEL_PLUS_H__
#define __UILABEL_PLUS_H__

#pragma once

namespace DuiLib
{
	class DUILIB_API CLabelPlusUI : public CLabelUI
	{
	public:
		CLabelPlusUI();
		~CLabelPlusUI();

		LPCTSTR GetClass() const;
		UINT GetControlFlags() const;
		LPVOID GetInterface(LPCTSTR pstrName);

		void DoEvent(TEventUI& event);

		void PaintText(HDC hDC);

		void SetDbclickCopy(bool bDbclickCopy);

	protected:
		void  SetClipBoardData_(CDuiString strText);

	private:
		DWORD m_dwCurBkColor;
		DWORD m_dwCurTextColor;
		DWORD m_dwSelectedBkColor;
		DWORD m_dwSelectedTextColor;
		bool m_bDbclickCopy;
		bool m_bSelectedStatus;
	};
}

#endif // __UILABEL_PLUS_H__